package transactionimplementation

import (
	abstracttransaction "salarypayment-case/AbstractTransaction"
	"salarypayment-case/Model"
	"salarypayment-case/modelimplementation"
)


type AddSalariedEmployee struct {
	abstracttransaction.AddEmployeeTransaction
	itsSalary float64
}

func (ae *AddSalariedEmployee) GetClassification() Model.PaymentClassification{
	return modelimplementation.CreateSalariedClassification(ae.itsSalary)
}

func (ae *AddSalariedEmployee) GetSchedule() Model.PaymentSchedule {
	return &modelimplementation.MonthlySchedule{}
}